package com.ibm.workplace.wcm.cqplugin;

public interface IBugQuery {
    
    /**
     * Returns the name of this query.
     * 
     * @return
     */
    public String getName();
    
    /**
     * Returns the set of connection profiles assoicated with this query.
     * 
     * This method should return "null" if ALL configured connection profiles should be used when executing this query
     * 
     * @return
     */
    public String[] getConnectionProfileNames();
    
    
    /**
     * Returns the search criteria for this query.
     * 
     * @return
     */
    public IBugSearchCriteria getSearchCriteria();
    
    
    /**
     * Returns the set of column IDs for columns that should be displayed when this query is run.
     * 
     * @return
     */
    public String[] getColumnIds();
}
